Using the Shutdown Manager
The Shutdown Manager provides four procedures. The proceduresShutDwnPower
andShutDwnStart
perform the same set of shutdown tasks, except thatShutDwnPower
turns off a Macintosh computer, whereasShutDwnStart
restarts it. TheShutDwnInstall
routine installs a custom shutdown procedure to perform a certain task before the computer shuts down or restarts. TheShutDwnPower
orShutDwnRestart
routine calls your shutdown procedure at a predetermined point during the shutdown or restart process. The last procedure,ShutDwnRemove
, removes custom shutdown procedures installed byShutDwnInstall
.
- WARNING
- Usually, only the Finder or other system software should call
ShutDwnPower
andShutDwnInstall
. An application calling these procedures will cause other open applications to terminate abruptly, potentially destroying their data. ·
Subtopics
- Sending a Shutdown or Restart Event
- Installing a Custom Shutdown Procedure